package com.example.demo.ela.entiy;

import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName ="lcfn-parts", type = "past", shards = 1, replicas = 0, refreshInterval = "-1")
public class PartsEntiyS {
	 
	private Long id;
	@Field(analyzer="ik_max_word",searchAnalyzer="ik_smart",type = FieldType.String)
	private String name;
	
    private String oe;
  
  
public Long getId() {
	return id;
}
public void setId(Long id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getOe() {
	return oe;
}
public void setOe(String oe) {
	this.oe = oe;
}






	
	
	
	
	
}
